package com.itheima.ydd.dto;

import com.itheima.ydd.entity.Advimg;
import com.itheima.ydd.entity.Cate;
import com.itheima.ydd.entity.Link;
import com.itheima.ydd.entity.Tag;
import lombok.Data;

import java.util.HashMap;
import java.util.List;

@Data
public class ForwardDto {

    /**
     * 所有分类
     */
    private List<Cate> allCate;

    /**
     * 所有友情链接
     */
    private List<Link> allLink;


    /**
     * 所有标签
     */
    private List<Tag> allTag;

    /**
     * 前台配置
     * allData:(attr_key,attr_value,config_value,id,type,validator)
     * list:(key,name,children[])
     */
    private HashMap<String, Object> config;


    /**
     * 轮播图数据(advimgdesc,advimglink,advimgsrc,id)
     */
    private List<Advimg> banner;

    /**
     * 侧边栏图片(advimgdesc,advimglink,advimgsrc,id)
     */
    private List<Advimg> showBanner;

    /**
     * 详情广告图(advimgdesc,advimglink,advimgsrc,id)
     */
    private List<Advimg> sideBanner;

}
